
<!--个人中心-->
<div class="personal" ng-controller="personalCtrl as vm">
    <div class="container_1">
        <div class="block user_block">
            <div class="user_img_box">
                <img class="img" data-ng-if="!vm.data.avatar" src="../../img/zl_img/user.png" alt="">
                <img class="img" data-ng-if="vm.data.avatar" ng-src="{{vm.data.avatar}}" alt="">
            </div>
            <div class="user_mian_box">
                <div class="user_mian-title">{{vm.data.nickname}}</div>
                <div class="user_mian-des">编号|{{vm.data.number}}</div>
                <div class="user_mian-btn" data-ng-click="vm.invite()">邀请朋友</div>
            </div>
            <div class="user_btn_box" data-ng-click="vm.scan()">
                <img src="../../img/zl_img/scan_code.png" alt="">
                <div class="scan_text">扫码签到</div>
            </div>
        </div>
        <div class="block info_block">
            <div class="info_itme" data-ui-sref="detail.integral">
                <div class="info_title">{{vm.data.points}}</div>
                <div class="info_des">积分</div>
            </div>
            <div class="info_itme">
                <div class="info_title">{{vm.data.fund}}</div>
                <div class="info_des">公益基金</div>
            </div>
        </div>
        <div class="list_block">
            <div class="block list_item" data-ui-sref="detail.my_activity">
                <span class="list_icon"><img src="../../img/zl_img/my_activity.png" alt=""></span>
                <span class="list_text">我的活动</span>
                <span class="list_arrows"><img src="../../img/zl_img/arrow.png" alt=""></span>
            </div>
            <div class="block list_item" data-ui-sref="detail.curves">
                <span class="list_icon"><img src="../../img/zl_img/jianfei_echarts.png" alt=""></span>
                <span class="list_text">减肥曲线</span>
                <span class="list_arrows"><img src="../../img/zl_img/arrow.png" alt=""></span>
            </div>
            <div class="block list_item" data-ui-sref="detail.integral">
                <span class="list_icon"><img src="../../img/zl_img/jifen.png" alt=""></span>
                <span class="list_text">积分明细</span>
                <span class="list_arrows"><img src="../../img/zl_img/arrow.png" alt=""></span>
            </div>
            <div class="block list_item" data-ui-sref="detail.witness_list">
                <span class="list_icon"><img src="../../img/zl_img/invite_witness.png" alt=""></span>
                <span class="list_text">邀请见证</span>
                <span class="list_arrows"><img src="../../img/zl_img/arrow.png" alt=""></span>
            </div>
            <div class="block list_item" data-ng-click="vm.code=!vm.code">
                <span class="list_icon"><img src="../../img/zl_img/kefu.png" alt=""></span>
                <span class="list_text">咨询客服</span>
                <span class="list_arrows"><img src="../../img/zl_img/arrow.png" alt=""></span>
            </div>
            <div class="block list_item" data-ui-sref="detail.gift({is_verification:vm.data.is_verification})">
                <span class="list_icon"><img src="../../img/zl_img/libao.png" alt=""></span>
                <span class="list_text">核销</span>
                <span class="list_arrows"><img src="../../img/zl_img/arrow.png" alt=""></span>
            </div>
        </div>
    </div>
    <div class="apply_success" data-ng-if="vm.alert">
        <div class="alert_content">
            <div class="title">签到成功</div>
            <div class="content">恭喜您获得2个积分</div>
            <div class="alert_button" data-ng-click="vm.alert=!vm.alert">确认</div>
        </div>
    </div>
    <div class="code" data-ng-click="vm.code=!vm.code" data-ng-if="vm.code">
        <div class="alert_content">
            <img ng-src="{{vm.data.server_qrcode}}" alt="">
        </div>
    </div>
</div>